//
//  AppDelegate.swift
//  weiBo
//
//  Created by 胡卓 on 2017/4/2.
//  Copyright © 2017年 胡卓. All rights reserved.
//

import UIKit

@UIApplicationMain
class AppDelegate: UIResponder, UIApplicationDelegate {

    var window: UIWindow?


    func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool {
        
        window = UIWindow(frame: UIScreen.main.bounds)
        
        //设置根控制器
        let vc = WBMainController()
        
        window?.rootViewController = vc
        window?.makeKeyAndVisible()
        return true
    }
}

